#include "cpu/exec/template-start.h"

#define make_setcc_helper(cc) \
    make_helper(concat4(set, cc, _, SUFFIX)){ \
        int len = concat(decode_rm_, SUFFIX)(eip + 1); \
        OPERAND_W(op_src, concat(check_cc_,cc)());\
        print_asm_template1(); \
        return len + 1; \
    }
 
make_setcc_helper(ne)
make_setcc_helper(e)

#include "cpu/exec/template-end.h"